// @ts-ignore
import { v4 as uuidv4 } from 'uuid';



export const getUserTempId = function() {
  const userTempId = localStorage.getItem('userTempId')
  if (userTempId) {
    return userTempId
  } else {
    const newUserTempId = uuidv4()
    localStorage.setItem('userTempId', uuidv4())
    return newUserTempId
  }
}

